<style>

    .panel {
        min-width: 20em;
        max-width: 90%;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 1em;
    }
</style>

<dom node="MsgBox">
    <div class="panel-bg">
        <div class="panel">
            <b name="title"></b>
            <span name="text"></span>
            <button>ok</button>
        </div>
    </div>
</dom>